package com.oamicnet.servicetwo.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.bus.jackson.RemoteApplicationEventScan;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan("com.oamicnet.servicetwo.server.mapper")
@EnableFeignClients(basePackages = "com.oamicnet.serviceone.api")
@RemoteApplicationEventScan
public class ServiceTwoServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceTwoServerApplication.class, args);
    }

}
